// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SUPPLIER_CONTACT
// * CreateDate    : 2011/11/17 14:17:08
// * Creater       : CodeSmith
// * LastChangeDate: 2011/11/17 14:17:08
// * LastChanger   : 2011/11/17 14:17:08
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstSupplierContactTable : TableInfo
    {
		public const string C_TableName = "MST_SUPPLIER_CONTACT";
		
		public const string C_CONTACT_ID = "CONTACT_ID";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_CONTACT_LEVEL = "CONTACT_LEVEL";
		public const string C_CONTACT_DEPARTMENT = "CONTACT_DEPARTMENT";
		public const string C_CONTACT_NAME = "CONTACT_NAME";
		public const string C_CONTACT_MOBILEPHONE = "CONTACT_MOBILEPHONE";
		public const string C_CONTACT_AGE = "CONTACT_AGE";
		public const string C_CONTACT_JOB_TITLE = "CONTACT_JOB_TITLE";
		public const string C_CONTACT_OFFICE_PHONE = "CONTACT_OFFICE_PHONE";
		public const string C_CONTACT_FAX = "CONTACT_FAX";
		public const string C_CONTACT_EMAIL = "CONTACT_EMAIL";
		public const string C_CONTACT_REMARK = "CONTACT_REMARK";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		
		public MstSupplierContactTable()
        {
            _tableName = "MST_SUPPLIER_CONTACT";
        }
		
		protected static MstSupplierContactTable _current;
        public static MstSupplierContactTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstSupplierContactTable();

            _current.Add(C_CONTACT_ID, new ColumnInfo(C_CONTACT_ID,"ContactId", true, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_CONTACT_LEVEL, new ColumnInfo(C_CONTACT_LEVEL,"ContactLevel", false, typeof(string)));
            _current.Add(C_CONTACT_DEPARTMENT, new ColumnInfo(C_CONTACT_DEPARTMENT,"ContactDepartment", false, typeof(string)));
            _current.Add(C_CONTACT_NAME, new ColumnInfo(C_CONTACT_NAME,"ContactName", false, typeof(string)));
            _current.Add(C_CONTACT_MOBILEPHONE, new ColumnInfo(C_CONTACT_MOBILEPHONE,"ContactMobilephone", false, typeof(string)));
            _current.Add(C_CONTACT_AGE, new ColumnInfo(C_CONTACT_AGE,"ContactAge", false, typeof(int)));
            _current.Add(C_CONTACT_JOB_TITLE, new ColumnInfo(C_CONTACT_JOB_TITLE,"ContactJobTitle", false, typeof(string)));
            _current.Add(C_CONTACT_OFFICE_PHONE, new ColumnInfo(C_CONTACT_OFFICE_PHONE,"ContactOfficePhone", false, typeof(string)));
            _current.Add(C_CONTACT_FAX, new ColumnInfo(C_CONTACT_FAX,"ContactFax", false, typeof(string)));
            _current.Add(C_CONTACT_EMAIL, new ColumnInfo(C_CONTACT_EMAIL,"ContactEmail", false, typeof(string)));
            _current.Add(C_CONTACT_REMARK, new ColumnInfo(C_CONTACT_REMARK,"ContactRemark", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
			
		}
		
		public ColumnInfo CONTACT_ID
        {
            get { return this[C_CONTACT_ID]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo CONTACT_LEVEL
        {
            get { return this[C_CONTACT_LEVEL]; }
        }
		
		public ColumnInfo CONTACT_DEPARTMENT
        {
            get { return this[C_CONTACT_DEPARTMENT]; }
        }
		
		public ColumnInfo CONTACT_NAME
        {
            get { return this[C_CONTACT_NAME]; }
        }
		
		public ColumnInfo CONTACT_MOBILEPHONE
        {
            get { return this[C_CONTACT_MOBILEPHONE]; }
        }
		
		public ColumnInfo CONTACT_AGE
        {
            get { return this[C_CONTACT_AGE]; }
        }
		
		public ColumnInfo CONTACT_JOB_TITLE
        {
            get { return this[C_CONTACT_JOB_TITLE]; }
        }
		
		public ColumnInfo CONTACT_OFFICE_PHONE
        {
            get { return this[C_CONTACT_OFFICE_PHONE]; }
        }
		
		public ColumnInfo CONTACT_FAX
        {
            get { return this[C_CONTACT_FAX]; }
        }
		
		public ColumnInfo CONTACT_EMAIL
        {
            get { return this[C_CONTACT_EMAIL]; }
        }
		
		public ColumnInfo CONTACT_REMARK
        {
            get { return this[C_CONTACT_REMARK]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		
		
	}
}

